package com.example.a28796.beautiful.configinterface;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * Created by 28796 on 2016/8/29.
 */
public interface NetInterface {
    //retrofit 原生的请求
    @GET("/api350/index?province=%E5%8C%97%E4%BA%AC&pn=1&city=%E5%8C%97%E4%BA%AC")
    Call<ResponseBody> getNetData();
    @GET("/api/index/group/experiences/{path}?province=%E5%8C%97%E4%BA%AC&pn=1&city=%E5%8C%97%E4%BA%AC")
    Call<ResponseBody> getNetItemData(@Path("path") int path);
}
